home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Internet Tools 1993 July / Internet Tools.iso / RockRidge / mail / sendmail / sendmail-5.65c+IDA-1.4.4.1 / ida / cf / OPTIONS < prev    next >
Encoding:
Text File  |  1990-09-17  |  12.6 KB  |  290 lines

  1. A guide to the options available with the IDA-1.3.4 configuration package.
  2.  
  3. Note:  A number of the options are used to define classes.  In a class
  4.        definition, the value of the keyword may be a list of names, a
  5.        complete file name beginning with '/', or a command pipe beginning
  6.        with '|'.  See sendmail.mc for more information and the sample .m4
  7.        files for examples.
  8.  
  9.   ALIASES.  This defines the location of the aliases(5) database.
  10.  
  11.   FORCE_NAMED.
  12.  
  13.  This should normally be defined for hosts which are on the Internet, and have
  14. access to a name server.  The name server need not be on the same machine, 
  15. provided that there is a suitable '/etc/resolv.conf'.  The effect is that 
  16. sendmail will not trust '/etc/hosts' and will only use the name server for 
  17. looking up addresses.
  18.  
  19.   PSEUDODOMAINS
  20.  
  21.  This is a list (or CLASS) of top level domains that are not known to the name 
  22. servers.  It should include domains such as BITNET and UUCP.  See the sample 
  23. m4 files for a suitable definition.
  24.  
  25.   DEFAULT_HOST
  26.  
  27.  If your system is properly configured, you should not need to define this.  
  28. The purpose is to define the macro $w, which should evaluate to your host's
  29. fully qualified name. 
  30.  
  31.  There is a quick test you can make to see if you need this.  Send yourself
  32. some mail, as in:  mail 'me'  (where 'me' is replaced by your own logon id).
  33. Then look carefully at the 'From:' header line.  It should read:
  34. From: me@fully.qualified.domain.name
  35.  
  36.  Whatever follows the '@' is what sendmail thinks is your fully qualified
  37. domain name.  If this is correct, you need not define DEFAULT_HOST.  If it
  38. is not correct, you should define DEFAULT_HOST to the correct value.  But
  39. it is a good idea to find out why sendmail couldn't find the correct
  40. value.  See the discussion below on domain setup for more information. 
  41.  
  42.  DEFAULT_DOMAIN
  43.  
  44.  If you are Internet connected, or have a valid Internet domain name, you
  45. should NOT define DEFAULT_DOMAIN, as it will result in the generation of
  46. incomplete addresses.  However it may be useful if you are only in a
  47. non-Internet domain such as BITNET or UUCP.
  48.  
  49.  PSEUDONYMS
  50.  
  51.  This is used to define the class of all domain names which you consider 
  52. local.  There is no need to include your UUCP name or your fully qualified 
  53. host name, as they are automatically included from other definitions.  It is, 
  54. however, a good idea to include 'localhost', or 'localhost.my.domain' 
  55. depending on your name server setup.
  56.  
  57.  Example:  My machine is known as:  'mp.cs.niu.edu'.  However the prefered 
  58. email address for our department is 'user@cs.niu.edu'.  Consequently 
  59. 'cs.niu.edu' must go into the definition of PSEUDONYMS.  If 'other.cs.niu.edu' 
  60. shares the mail spool files with my machine, I would also want that to be 
  61. included in the definition of PSEUDONYMS.
  62.  
  63.  UUCPNAME
  64.  
  65.  This defines your UUCP name to sendmail.  You may be able to find your
  66. UUCP name with the command 'uuname -l'.  If you don't use UUCP you can ignore
  67. this option, or define it to be the first word of your domain name.
  68.  
  69.  If you significantly use UUCP mail and UUCP mail addresses, you should
  70. send a UUCP map entry into the UUCP mapping project: <uucpmap@rutgers.edu> or
  71. <uucpmap@rutgers.UUCP>.  However if you use UUCP only locally, such as for
  72. MX gatewaying, and can ensure that your UUCP name never escapes onto the
  73. general network, this is not needed.
  74.  
  75.  UUCPNODES
  76.  
  77.  This defines the class of all your UUCP neighbours.  It is usually defined
  78. with:
  79.  
  80. define(UUCPNODES, |uuname|sort|uniq)dnl
  81.  
  82.  If you have a 'uuname' command, the above definition should automatically
  83. give the correct set of names, based on the contents of your L.sys UUCP
  84. configuration file.
  85.  
  86.  ALTERNATENAMES
  87.  
  88.  This is a list of other host names which are not pseudonyms for your host, 
  89. but for which in some manner you handle final delivery.  In most cases you
  90. need not define this.  As an example, I place 'niu.edu' in this class.  The
  91. address 'name@niu.edu' is not treated as identical to 'name@cs.niu.edu'.  
  92. Neverthless, by means of a database lookup, my machine attempts to make final 
  93. delivery for mail addressed to 'name@niu.edu'.
  94.  
  95.  BANGIMPLIESUUCP
  96.  
  97.  In most cases, this should be defined.  The effect is that in an address of 
  98. the form 'host!name', the 'host' is translated into 'host.UUCP'.  This is 
  99. usually the correct approach.
  100.  
  101.  BANGONLYUUCP
  102.  
  103.  If this is defined, '.UUCP' will not be added to an unqualified host name 
  104. unless the address is of the form 'host!name'. 
  105.  
  106.  DOMAINTABLE
  107.  PATHTABLE
  108.  GENERICFROM
  109.  MAILERTABLE
  110.  UUCPXTABLE
  111.  
  112.  These define the various DBM lookup tables which may optionally be used.  
  113. There use is fully documented elsewhere.
  114.  
  115.  POSTMASTERBOUNCE
  116.  
  117.  If you define this the postmaster will receive a copy of each mail which 
  118. could not be delivered.  This is sometime useful if you are not sure whether 
  119. your configuration is correct.
  120.  
  121.  UUCPRELAYS
  122.  
  123.  This is used to define a set of well known UUCP domains, and is used only to 
  124. simplify the header addresses.  It is purely optional, and unless you receive 
  125. a high volume of UUCP traffic there is probably no reason to define it.  For
  126. more information look at the documentation in Sendmail.mc.
  127.  
  128.  UUCPPRECEDENCE
  129.  
  130.  Some UUCP hosts incorrectly add 'host!' in front of addresses, even when the 
  131. address is an Internet format address, using '@' to define the domain.  For 
  132. example, uuhost might convert 'user@full.domain.name' to 
  133. 'uuhost!user@full.domain.name'.  If parsed in the normal manner, this is 
  134. treated as meaning that the mail should be forwarded to 'full.domain.name' and 
  135. then from their to 'uuhost'.  Unfortunately 'uuhost' is your neighbor, not the 
  136. neighbor of 'full.domain.name'.  To avoid this problem, such addresses should 
  137. be parsed specially, so as to give precedence to the UUCP domain.  
  138. UUCPPRECEDENCE should be defined as the list of those of your UUCP neighbors 
  139. which generate these garbled addresses.  It is intended as a temporary fix 
  140. until you can persuade those confused UUCP neighbors to get their act 
  141. together.
  142.  
  143.  HIDDENNET and HIDDENNETHOST
  144.  
  145.  These are useful for a network of hosts all sharing a common mail name.
  146. Just define HIDDENNET to be the class of all machines in the network, and
  147. HIDDENNETHOST to be the common mail name they are sharing.  You can even
  148. use this option with just a single host if you want the mail name to be
  149. different from the host name.  (But make sure that the mail name is
  150. publically known, usually with an MX domain record).
  151.  
  152.  ISOLATED_DOMAINS
  153.  RELAY_HOST
  154.  RELAY_MAILER
  155.  
  156.  These are useful for hosts which are not connected to the Internet, but
  157. are able to forward mail to Internet hosts via a gateway host.  Define
  158. RELAY_HOST to be your gateway host, and RELAY_MAILER to be the mailer which
  159. forwards mail to the gateway.  If you have an Internet domain name and are
  160. using UUCP for forwarding, try the UUCP-A mailer as your first preference for
  161. RELAY_MAILER.  In some circumstances a host will be on an internal network
  162. which permits SMTP mail, and possibly access to a name server on the gateway
  163. host.  In this case ISOLATED_DOMAINS can be defined to specify the hosts on
  164. the network to which you can connect.  See 'Sendmail.mc' for more information.
  165.  
  166.  NIS_MAILALIASES
  167.  
  168.  This allows use of a NIS (or YP) network alias database in addition to the
  169. local aliases file.  See 'Sendmail.mc' for more information.
  170.  
  171.  LOADAVEQUEUE
  172.  LOADAVEREJ
  173.  
  174.  These define the load average at which sendmail starts queueing mail instead 
  175. of delivering it, and starts rejecting SMTP connections.  In most cases you
  176. should not need to define these - the default values should be satisfactory.
  177.  
  178.  TRUSTEDUSERS
  179.  
  180.  This defines additional trusted users who are permitted to use the -f option 
  181. to sendmail.  By default uucp, daemon and root are in this class.  You may 
  182. wish to add other names.  It is perfectly alright to not define this.
  183.  
  184.  DECNETNAME
  185.  
  186.  This defines your DECnet node name to sendmail.  Define this only if you act
  187. as a DECnet/Internet mail gateway and have the mail11v3 program installed on
  188. your system.  This option requires sendmail to be compiled with the MAIL11V3
  189. option enabled in src/conf.h .
  190.  
  191.  -----------
  192.  
  193.  A number of addition options, such as:
  194.   DECNETNODES, DECNETXTABLE are available.  See 'Sendmail.mc'
  195. for a complete set of available options.
  196.  
  197.  -----------
  198.  
  199.  NOTES ON YOUR DOMAIN SETUP.
  200.  
  201.     These notes assume access to a name server.  If you do not have
  202.     access to a name server, see the special comments later.
  203.  
  204.  The name server and resolver library are normally used to map between host 
  205. names and network numbers.  The file '/etc/resolv.conf' defines the default 
  206. domain which is automatically added to host names, and defines the network
  207. addresses of up to three hosts running name servers.  The administrator of 
  208. your domain should be able to help you set up this file.
  209.  
  210.  'sendmail' normally uses this system to find your host name.  It starts with 
  211. the value returned by hostname (1) which is usually set in '/etc/rc'.  The 
  212. following are all reasonable setups:
  213.  
  214.             hostname - returns your fully qualified host name.
  215.             hostname - returns a value which will become your fully qualified 
  216.                        host name when the default domain (from resolv.conf) is 
  217.                        appended.
  218.             hostname - returns your UUCP name, but there is a CNAME record in 
  219.                        the domain database which maps uucpname.domain.name 
  220.                        into your fully qualified host name.
  221.  
  222.  You might try:  nslookup `hostname`
  223.  
  224.   If this returns your fully qualifed hostname and your network address, all 
  225. is OK.
  226.  
  227.   Conventional wisdom strongly suggests that you should avoid having
  228. any wild card MX records in your domain.  For example if there is a
  229. wildcard MX record (an MX record for *.your.domain), then when you
  230. try to send mail to: user@ucbvax.berkeley.edu your resolver library is
  231. likely to interpret the address as being at the valid:
  232. ucbvax.berkeley.edu.your.domain
  233.  
  234.   This is clearly not what you wanted.  Wildcard MX records in other
  235. domains should not cause any problems.  It is best for directly
  236. connected Internet hosts to not use wildcards for their own domain.
  237. Hosts with internet addresses, but which are only connected indirectly
  238. such as via UUCP may wish to have wildcard MX records for their
  239. domains to simplify domain maintenance.
  240.  
  241.   However, if you MUST have wildcard MX records in your domain, be
  242. very certain that you comment out the define for NO_WILDCARD_MX in the
  243. file src/conf.h when you build the sendmail executable.  If your mailer
  244. still has trouble mailing to other MX domains you may need to use
  245. RELAY_MAILER and ISOLATED_DOMAINS.
  246.  
  247.   Be sure that all of your network addresses are correctly mapped back to your 
  248. hostname with PTR records.  Traditionally either 'localhost' or 
  249. 'localhost.your.domain' will map to the loop back address of 127.0.0.1.  If 
  250. so, be sure that the appropriate name is defined in PSEUDONYMS.  Likewise 
  251. there should be a PTR record mapping 127.0.0.1 back to a name, usually either
  252. localhost, or localhost.your.domain.  Again whatever name it is mapped to 
  253. should be in your definition of PSEUDONYMS.  This only matters if you wish to 
  254. correctly handle mail addressed to: 'user@localhost' or to 'user@[127.0.0.1]'.  
  255. These should not really be used as local mailing addresses, but someone is 
  256. likely to test them out to see what happens.
  257.  
  258.  IF YOU DO NOT HAVE A NAME SERVER:
  259.  
  260.  If you are on Internet, you can find a name server somewhere which you
  261. can access via a suitable '/etc/resolv.conf'.  If you are on an internal
  262. network which has at least one gateway host also on Internet, see if you
  263. can get the gateway host to run a name server, which can be accessed with
  264. a suitable '/etc/resolv.conf'.
  265.  
  266.  If your only access to Internet is via a UUCP or similar link, then name
  267. server service will not be available.  In that case you will need to have
  268. a RELAY_MAILER and a RELAY_HOST to handle addresses that you cannot access
  269. directly.  Make sure that 'FORCE_NAMED' is not defined in your .m4 source.
  270. You might even try '#undef'ing 'NAMED_BIND' when you compile the sendmail
  271. sources to build the executable (I have not tested this).
  272.  
  273.  A more important consideration is in the way you set up '/etc/hosts'.
  274. It is important that on each line the fully qualified domain name appear
  275. first.  For my domain (mp.cs.niu.edu), I can use:
  276.  
  277.     131.156.1.2    mp.cs.niu.edu    mp    mp.cs
  278.     131.156.3.2    math.niu.edu    math    denali
  279.  
  280. If, for some reason (broken system software, for example) you cannot
  281. organize your '/etc/hosts' table in this way, you had best define
  282. DEFAULT_HOST, and have DOMAINTABLE entries for all hosts in your domain
  283. to fully qualify them.
  284.  
  285. This is because when the name server is not used, the first entry in a
  286. hosts record is taken as the official entry.  Attempts to canonicalize
  287. names with the hosts table will not give correct results unless you get
  288. this right.
  289.  
  290.